﻿<UserControl x:Class="AllenalaMente.Games.Calculator.Calculator"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="400" d:DesignWidth="800">

    <Canvas x:Name="LayoutRoot" Width="800" Height="400" Background="Gray">
    <Image Source="/AllenalaMente;component/Assets/Images/Backgrounds/SfondoMath.jpg" Width="800" Height="480"></Image>  
      <TextBlock x:Name="textBlockScore" Canvas.Left="700" Canvas.Top="0" Text="score" Foreground="Black" ></TextBlock>
        <Button Canvas.Left="556" Canvas.Top="71" Content="1" Height="80" Name="button1" Width="80" Click="button_Click"/>
        <Button Canvas.Left="630" Canvas.Top="71" Content="2" Height="80" Name="button2" Width="80" Click="button_Click"/>
        <Button Canvas.Left="700" Canvas.Top="71" Content="3" Height="80" Name="button3" Width="80" Click="button_Click"/>
        <Button Canvas.Left="556" Canvas.Top="146" Content="4" Height="80" Name="button4" Width="80" Click="button_Click"/>
        <Button Canvas.Left="630" Canvas.Top="146" Content="5" Height="80" Name="button5" Width="80" Click="button_Click"/>
        <Button Canvas.Left="700" Canvas.Top="146" Content="6" Height="80" Name="button6" Width="80" Click="button_Click"/>
        <Button Canvas.Left="556" Canvas.Top="219" Content="7" Height="80" Name="button7" Width="80" Click="button_Click"/>
        <Button Canvas.Left="630" Canvas.Top="219" Content="8" Height="80" Name="button8" Width="80" Click="button_Click"/>
        <Button Canvas.Left="700" Canvas.Top="219" Content="9" Height="80" Name="button9" Width="80" Click="button_Click"/>
        <Button Canvas.Left="630" Canvas.Top="297" Content="0" Height="80" Name="button0" Width="80" Click="button_Click"/>
        <Button Canvas.Left="556" Canvas.Top="297" Content="C" Height="80" Name="buttonC" Width="80" BorderBrush="#FFDE1A1A" Click="button_Click"/>
        <Button Canvas.Left="700" Canvas.Top="297" Content="->" Height="80" Name="buttonEnter" Width="80" Click="button_Click"/>
        <Rectangle Canvas.Left="576" Canvas.Top="33" Height="36" Name="rectangle1" Stroke="Black" StrokeThickness="1" Width="184">
            <Rectangle.Fill>
                <LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5">
                    <GradientStop Color="GreenYellow" Offset="0" />
                    <GradientStop Color="#FF15DB14" Offset="1" />
                </LinearGradientBrush>
            </Rectangle.Fill>
        </Rectangle>
        <TextBlock Canvas.Left="576" Canvas.Top="36" Height="33" Name="textBlockNumber" Text="" Width="184" TextAlignment="Center" Foreground="#FF0A0A0A" />
        <Rectangle Canvas.Left="109" Canvas.Top="170" Height="86" Name="rectangle2" Stroke="Black" StrokeThickness="1" Width="350" Fill="#FFFFF5F5" />
        <TextBlock Canvas.Left="109" Canvas.Top="198" Height="46" Name="textBlockEquation" Text="" Width="350" Foreground="#FF0D0C0C" TextAlignment="Center" FontSize="28" VerticalAlignment="Center" HorizontalAlignment="Center" />
    </Canvas>
</UserControl>
